<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
        * {
          box-sizing: border-box;
          font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }
        body {
          padding: 20px;
          margin: 0;
          background-color: #f5f5f5;
        }
        .input-container {
          max-width: 550px;
          margin: 0 auto;
          background: white;
          padding: 28px;
          border-radius: 16px;
          box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        }
        h2 {
          color: #1a1a1a;
          margin-top: 0;
          margin-bottom: 24px;
          font-size: 22px;
        }
        .input-group {
          margin-bottom: 24px;
        }
        label {
          display: block;
          margin-bottom: 8px;
          font-weight: 500;
          color: #333;
          font-size: 15px;
        }
        input, textarea {
          width: 100%;
          padding: 14px;
          border: 1px solid #ddd;
          border-radius: 8px;
          font-size: 16px;
          transition: all 0.2s ease;
        }
        input:focus, textarea:focus {
          outline: none;
          border-color: #4096ff;
          box-shadow: 0 0 0 3px rgba(64, 150, 255, 0.15);
        }
        textarea {
          min-height: 120px;
          resize: vertical;
          line-height: 1.5;
        }
        /* 富文本编辑器样式 */
        .rich-editor {
          border: 1px solid #ddd;
          border-radius: 8px;
          overflow: hidden;
          transition: all 0.2s ease;
        }
        .rich-editor:focus-within {
          border-color: #4096ff;
          box-shadow: 0 0 0 3px rgba(64, 150, 255, 0.15);
        }
        .rich-toolbar {
          padding: 10px 14px;
          background-color: #f9f9f9;
          border-bottom: 1px solid #eee;
          display: flex;
          gap: 8px;
        }
        .rich-toolbar button {
          background: white;
          border: 1px solid #ddd;
          border-radius: 4px;
          padding: 5px 10px;
          cursor: pointer;
          font-size: 14px;
          transition: all 0.2s ease;
        }
        .rich-toolbar button:hover {
          background-color: #f5f5f5;
        }
        .rich-content {
          padding: 14px;
          min-height: 140px;
          outline: none;
        }
        .placeholder {
          color: #999;
        }
    </style>
</head>
<body>
<div class="input-container">
    <h2>文本输入框集合</h2>

    <!-- 1. 文本输入框 -->
    <div class="input-group">
        <label>1. 文本输入框</label>
        <input type="text" placeholder="textContent" value="textContent">
    </div>


</div>
</body>
</html>